function getCurrentPages() {
  return ['']
}

export function getCurrentPage() {
  const currentPages = getCurrentPages()
  return currentPages[currentPages.length - 1]
}

export function getCurrentPageRoute() {
  const page = getCurrentPage() || {}
  return page.route || ''
}

export function getPrevPage() {
  const currentPages = getCurrentPages()
  if (currentPages.length > 1) {
    return currentPages[currentPages.length - 2]
  }
  return null
}

export function getPrevPageRoute() {
  const prevPage = getPrevPage()
  if (!prevPage) {
    return null
  }
  return prevPage.route
}
